package com.linghu.sportplants;

import android.content.Context;

import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.platform.app.InstrumentationRegistry;

import com.linghu.sportplants.utils.SqlPlantUtils;

import org.junit.Test;
import org.junit.runner.RunWith;

/**
 * author : LingHu
 * e-mail : 1714873054@qq.com
 * date   : 2023/10/11 14:58
 * desc   :
 * version: 1.0
 */
@RunWith(AndroidJUnit4.class)
public class TestDataBase {
    @Test
    public void testInsert(){
        Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
        SqlPlantUtils sqlPlantUtils = new SqlPlantUtils(appContext);
        sqlPlantUtils.insert();
    }
}
